local FightInterface = require("gameLogic.fightSkill.sequence.FightInterface")
local FightInterval = class("FightMove", FightInterface)

function FightInterval:ctor(interval)
    self._interval = interval
    FightInterval.super.ctor(self)
end

function FightInterval:_update()
    if self._sequence then
        return
    end
    self._sequence = DOTween.Sequence()
    self._sequence:AppendInterval(self._interval)
    self._sequence:AppendCallback(
        function()
            self._isDone = true
        end
    )
end

return FightInterval
